﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditHive.aspx.cs" Inherits="Site.Mobile.EditHive" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
        <title>Portfolio Mobi Home Page - Free mobile website template which supports Iphone, Android, High End Touch</title>
        <link href="../css/mobile.css" rel="stylesheet" type="text/css" />
        <meta name="keywords" content="free mobile website templates, iphone ,android, high end touch" />
        <meta name="description" content="Design 6 is a free mobile template work in all most all mobile devices. you are free to use for both commercial and non-commercial purpose by attributing to http://mobifreaks.com" />
        <style type="text/css">
            .Input
            {}
        </style>
    </head>
<body>
    <form id="form1" runat=server>
	<header>
        <div class="logo">
            <a href="index.html">
            <h1>Edit Hive</h1>
            </a>
        </div>
		
        <div class="clear"></div>
    </header>    
    <div class="content">
    <table>
        <tr>
            <td style="width: 126px"><a>Hive ID:
            </a></td>
            <td> 
                <asp:TextBox ID="edtHID" runat="server" CssClass="Input" Width="150px" 
                MaxLength="50"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 126px"><a>Worker:
            </a></td>
            <td> 
                <asp:DropDownList ID="edtWID" runat="server" CssClass="Input" Width="150px" 
                MaxLength="50" DataSourceID="SqlDataSource2" DataTextField="WID" 
                    DataValueField="WID"></asp:DropDownList></td>
        </tr>       
        <tr>
            <td style="width: 126px"><a>Longitude:
            </a></td>
            <td> 
                <asp:TextBox ID="edtLong" runat="server" CssClass="Input" Width="150px" 
                MaxLength="50"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="style1"><a>Latitude:
            </a></td>
            <td class="style2"> 
                <asp:TextBox ID="edtLat" runat="server" CssClass="Input" Width="150px" 
                MaxLength="50"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="style1"><a>Notes:
            </a></td>
            <td class="style2"> 
                <asp:TextBox ID="edtNotes" runat="server" CssClass="Input" Width="150px" 
                MaxLength="50" Height="53px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 30px; width: 126px;"></td>
            <td align="right" style="height: 30px" >
                <asp:Button ID="Button1" runat="server" Text="Update" 
                    onclick="Button1_Click" Width="77px" /></td>
        </tr>
        </table>
    </div>
    <nav class="vertical menu">
            <ul>
                <li><a href="Workers.aspx">Manage Workers</a></li>
                <li><a href="Hives.aspx">Manage Hives</a></li>
                <li><a href="basic_markup.html">View Issues</a></li>
                <li><a href="contact.html">Production Stats</a></li>
            </ul>
        </nav> 
	<footer>
        <p class="copy">&copy; Nektar</p>
    </footer>
    
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="Data Source=196.41.139.38;Initial Catalog=sqldbData;Persist Security Info=True;User ID=Default;Password=857105" 
        ProviderName="System.Data.SqlClient" 
        SelectCommand="SELECT [WID] FROM [Workers]"></asp:SqlDataSource>
    
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="Data Source=196.41.139.38;Initial Catalog=sqldbData;Persist Security Info=True;User ID=Default;Password=857105" 
        ProviderName="System.Data.SqlClient" 
        SelectCommand="SELECT [WID] FROM [Workers]"></asp:SqlDataSource>
    </form>
</body>
</html>